libxc: make do_memory_op's callers responsible for locking indirect buffers
authorIan Campbell <ian.campbell@citrix.com>
Mon, 18 Oct 2010 16:36:46 +0000 (17:36 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 18 Oct 2010 16:36:46 +0000 (17:36 +0100)
commit5924f32d9c26f2b9475ea08499fbd5ca95df332c
treea591c4be94bf4b0477f06faccc046d9e1a4fd5bd
parent35e135f116d77823e960671db82ca667f125d617
libxc: make do_memory_op's callers responsible for locking indirect buffers

Push responsibility for locking buffers refered to by the memory_op
argument up into the callers (which are now all internal to libxc).

This removes the last of the introspecation from do_memory_op and
generally makes the transistion to hypercall buffers smoother.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_domain.c
tools/libxc/xc_private.c